package com.kpmg.datalake.accountcheck.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;

/**
 * <p>
 * 对账结果表（本方、对方记录）
 * </p>
 *
 * @author timqian
 * @since 2018-08-03
 */
@TableName("IR_CHKACT_PRT")
public class KpmgChkactPrt implements Serializable {

	private static final long serialVersionUID=1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.UUID)
	private String chkId;
	/**
	 * 会计月份
	 */
	private String acgMo;
	/**
	 * 公司编码
	 */
	private String corpCd;
	/**
	 * 会计年度
	 */
	private String acgYr;
	/**
	 * 公司名称
	 */
	private String corpNm;
	/**
	 * 客户编码
	 */
	private String cstCd;
	/**
	 * 科目编码
	 */
	private String sbjCd;
	/**
	 * 客户名称
	 */
	private String cstNm;
	/**
	 * 科目名称
	 */
	private String sbjNm;
	/**
	 * 科目类型编码
	 */
	private String sbjTpCd;
	/**
	 * 科目级次
	 */
	private Integer sbjLvl;
	/**
	 * 科目类型名称
	 */
	private String sbjTpNm;
	/**
	 * 抵消金额
	 */
	private Double amtOfst;
	/**
	 * 记账期末金额
	 */
	private Double amtEop;
	/**
	 * 匹配类型
	 */
	private String mtchTpNm;
	/**
	 * 匹配备注
	 */
	private String mtchRmrk;
	/**
	 * 匹配批次ID
	 */
	private String mtchBtchId;
	private Double amtDif;
	/**
	 * 结果类型编码(本方:1 对方：0)
	 */
	private Double rsltCd;
	/**
	 * 本批次的本方记账期末金额累计
	 */
	private Double amtEopAcm;
	/**
	 * 本批次的对方抵消金额累计
	 */
	private Double amtOfstAcm;
	/**
	 * 初始化科目类别名称
	 */
	private String mtchTpNmInit;
	/**
	 * 保存Mapping后的交易对手标准名称
	 */
	private String cstStdNm;

	private String mappingId = "-1";

	public String getChkId(){
		return chkId;
	}

	public void setChkId(String chkId) {
		this.chkId = chkId;
	}

	public void setAcgYr(String acgYr) {
		this.acgYr = acgYr;
	}

	public String getAcgMo(){
		return acgMo;
	}

	public String getAcgYr(){
		return acgYr;
	}

	public String getCorpCd(){
		return corpCd;
	}

	public void setAcgMo(String acgMo) {
		this.acgMo = acgMo;
	}

	public String getCorpNm(){
		return corpNm;
	}

	public void setCorpCd(String corpCd) {
		this.corpCd = corpCd;
	}

	public void setCorpNm(String corpNm) {
		this.corpNm = corpNm;
	}

	public String getCstCd(){
		return cstCd;
	}

	public String getCstNm(){
		return cstNm;
	}

	public void setCstCd(String cstCd) {
		this.cstCd = cstCd;
	}

	public String getSbjCd(){
		return sbjCd;
	}

	public void setCstNm(String cstNm) {
		this.cstNm = cstNm;
	}

	public String getSbjNm(){
		return sbjNm;
	}

	public void setSbjCd(String sbjCd) {
		this.sbjCd = sbjCd;
	}

	public void setSbjNm(String sbjNm) {
		this.sbjNm = sbjNm;
	}

	public void setSbjLvl(Integer sbjLvl) {
		this.sbjLvl = sbjLvl;
	}

	public String getSbjTpCd(){
		return sbjTpCd;
	}

	public Integer getSbjLvl(){
		return sbjLvl;
	}

	public void setSbjTpCd(String sbjTpCd) {
		this.sbjTpCd = sbjTpCd;
	}

	public String getSbjTpNm(){
		return sbjTpNm;
	}

	public Double getAmtEop(){
		return amtEop;
	}

	public void setSbjTpNm(String sbjTpNm) {
		this.sbjTpNm = sbjTpNm;
	}

	public Double getAmtOfst(){
		return amtOfst;
	}

	public void setAmtEop(Double amtEop) {
		this.amtEop = amtEop;
	}

	public void setAmtOfst(Double amtOfst) {
		this.amtOfst = amtOfst;
	}

	public String getMtchTpNm(){
		return mtchTpNm;
	}

	public void setMtchRmrk(String mtchRmrk) {
		this.mtchRmrk = mtchRmrk;
	}

	public void setMtchTpNm(String mtchTpNm) {
		this.mtchTpNm = mtchTpNm;
	}

	public String getMtchBtchId(){
		return mtchBtchId;
	}

	public String getMtchRmrk(){
		return mtchRmrk;
	}

	public void setMtchBtchId(String mtchBtchId) {
		this.mtchBtchId = mtchBtchId;
	}

	public Double getAmtDif(){
		return amtDif;
	}

	public void setAmtDif(Double amtDif) {
		this.amtDif = amtDif;
	}

	public Double getRsltCd(){
		return rsltCd;
	}

	public void setRsltCd(Double rsltCd) {
		this.rsltCd = rsltCd;
	}

	public Double getAmtEopAcm(){
		return amtEopAcm;
	}

	public void setAmtEopAcm(Double amtEopAcm) {
		this.amtEopAcm = amtEopAcm;
	}

	public Double getAmtOfstAcm(){
		return amtOfstAcm;
	}

	public void setAmtOfstAcm(Double amtOfstAcm) {
		this.amtOfstAcm = amtOfstAcm;
	}

	public String getMtchTpNmInit(){
		return mtchTpNmInit;
	}

	public void setMtchTpNmInit(String mtchTpNmInit) {
		this.mtchTpNmInit = mtchTpNmInit;
	}

	public String getCstStdNm(){
		return cstStdNm;
	}

	public void setCstStdNm(String cstStdNm) {
		this.cstStdNm = cstStdNm;
	}

	public String getMappingId() {
		return mappingId;
	}

	public void setMappingId(String mappingId) {
		this.mappingId = mappingId;
	}

	@Override
	public String toString() {
		return getClass().getName() + JSONObject.toJSONString(this) ;
	}
}
